import { IParam } from '../../common';
import { IAbility } from '../../modules/common/i-ability';

/**
 * 部件能力
 *
 * @export
 * @interface ICtrlAbility
 */
export interface ICtrlAbility extends IAbility {
	/**
	 * 刷新当前部件
	 *
	 * @param {IParam} [opts]
	 * @return {*}  {Promise<boolean>}
	 * @memberof ICtrlAbility
	 */
	refresh(opts?: IParam): Promise<boolean>;
}
